#include<stdio.h>
#define ONE_FLAG (1<<0) // 0000 0000 0000 0001
#define TWO_FLAG (1<<1) // 0000 0000 0000 0010
#define THREE_FLAG (1<<2) // 0000 0000 0000 0100
#define FOUR_FLAG (1<<3) // 0000 0000 0000 1000
void Print(int flag)
{
	if (flag & ONE_FLAG)
	{
		printf("ONE!\n");
	}

	if (flag & TWO_FLAG)
	{
		printf("TWO!\n");
	}
	if (flag & THREE_FLAG)
	{
		printf("THREE!\n");
	}
	if (flag & FOUR_FLAG)
	{
		printf("FOUR!\n");
	}
}

int main()
{
	Print(ONE_FLAG);
	printf("\n");

	// 0001 | 0010 ---> 0011 
	Print(ONE_FLAG|TWO_FLAG);
	printf("\n");
	
	Print(ONE_FLAG|TWO_FLAG|THREE_FLAG);
	printf("\n");
	
	Print(ONE_FLAG|FOUR_FLAG);
	printf("\n");
	return 0;
}
